export const getPieChartOption = () => {
  return {
    grid: { top: "0", right: "0", bottom: "0", left: "0", height: "100%" },
    tooltip: {
      trigger: 'item',
      formatter: '{b}: {c}%',
      backgroundColor: 'rgba(0, 0, 0, 0.7)',
      borderColor: '#333',
      textStyle: {
        color: '#fff'
      }
    },
    series: [
      {
        type: "pie",
        radius: ["0%", "90%"],
        label: {
          show: false,
        },
        data: [
          {
            value: null,
            name: "售电收益",
            itemStyle: {
              color: "#4B9EFF",
            },
          },
          {
            value: null,
            name: "储能收益",
            itemStyle: {
              color: "#64E8DE",
            },
          },
        ],
      },
    ],
  };
};
